package org.dwpd.domain.blog;

import lombok.Data;
import org.springframework.stereotype.Component;

import java.sql.Date;

/**
 * Package:org.dwpd.model
 *
 * @ClassName:BlogComment
 * @Create:2024/8/18 16:59
 **/
@Component
@Data
//帖子评论信息
public class BlogComment {
    private Integer id; //帖子评论ID
    private Integer blogId; //帖子ID
    private Integer userId; //用户ID
    private Integer rootCommentId;  //贴主ID，有权删评
    private String commentContent;  //评论内容
    private Integer deleteFlag; //逻辑删除，0表示未删除，1表示删除
    private Date createTime;   //创建时间
    private Date updateTime;   //更新时间
}
